projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6da9ae
)
x86: Use correct printf() format string for uintptr_t
author
Simon Glass
<
[email protected]
>
Wed, 15 Oct 2014 10:38:36 +0000
(
04:38
-0600)
committer
Tom Rini
<
[email protected]
>
Mon, 27 Oct 2014 15:04:01 +0000
(11:04 -0400)
Use the inttypes header file to provide this.
Signed-off-by: Simon Glass <
[email protected]
>
arch/x86/lib/relocate.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/relocate.c
b/arch/x86/lib/relocate.c
index 526daaf93a639194e693ef8fd5f5d6486f256721..faca38fff4b0c9fc67f7cfaeaab6682b6340f81f 100644
(file)
--- a/
arch/x86/lib/relocate.c
+++ b/
arch/x86/lib/relocate.c
@@
-16,6
+16,7
@@
*/
#include <common.h>
+#include <inttypes.h>
#include <libfdt.h>
#include <malloc.h>
#include <asm/u-boot-x86.h>
@@
-94,7
+95,7
@@
int do_elf_reloc_fixups(void)
*offset_ptr_ram += gd->reloc_off;
} else {
debug(" %p: rom reloc %x, ram %p, value %x,"
- " limit %
lx
\n", re_src,
+ " limit %
" PRIXPTR "
\n", re_src,
re_src->r_offset, offset_ptr_ram,
*offset_ptr_ram,
CONFIG_SYS_TEXT_BASE + size);